package com.orangelife.mobile.confirmOrder.entity;

import java.io.Serializable;
import java.util.List;
import java.util.Map;

/**
 * 订单列表中的某个商户的订单信息
 * Created by asus on 2015/11/1.
 */
public class MerchantInfo implements Serializable {
    /**
     * 商户名称
     */
    private String merchantName;
    /**
     * 商品总数
     */
    private String goodsNumber;
    /**
     * 商品总价
     */
    private String totalPrices;
    /**
     * 商户id
     */
    private String merID;
    /**
     * 邮费
     */
    private String shipCost;
    /**
     * 配送费
     */
    private String dispatchFee;
    /**
     * 配送类型
     */
    private String dispatchType;
    /**
     * 配送名称
     */
    private String selectedDispatchName;
    /**
     * 配送id
     */
    private String dispatchID;
    /**
     * 满免值
     */
    private String limitFee;
    /**
     * 抵用券价格
     */
    private String voucherValue;
    /**
     * 单个商户的商品总价
     */
    private String singleTotalPrice;
    /**
     * 单个商户的商品数量
     */
    private String singleGoodsNumber;
    /**
     * 策略id
     */
    private String sellployId;
    /**
     * 抵扣券ID
     */
    private String couponID;
    /**
     * 该商户的抵用券信息，这个属性的逻辑比较复杂，初始化显示的是当前可用金额最高的抵用券，如果没有抵用券，则显示“暂无”；如果有抵用券但是没有选择，则显示抵用券数量；其他情况显示抵用券数量的总金额
     */
    private String voucherInfo;
    /**
     * 抵用券颜色
     */
    private int voucherColor;
    /**
     * 商品id
     */
    private String goodsID;

    /**
     * 邮费列表
     */
    private List<Map<String, Object>> dispatchList;

    private List<Map<String, Object>> goodsList;

    public String getGoodsID() {
        return goodsID;
    }

    public void setGoodsID(String goodsID) {
        this.goodsID = goodsID;
    }

    public String getVoucherValue() {
        return voucherValue;
    }

    public void setVoucherValue(String voucherValue) {
        this.voucherValue = voucherValue;
    }

    public int getVoucherColor() {
        return voucherColor;
    }

    public void setVoucherColor(int voucherColor) {
        this.voucherColor = voucherColor;
    }

    public String getVoucherInfo() {
        return voucherInfo;
    }

    public void setVoucherInfo(String voucherInfo) {
        this.voucherInfo = voucherInfo;
    }

    public String getCouponID() {
        return couponID;
    }

    public void setCouponID(String couponID) {
        this.couponID = couponID;
    }

    public String getLimitFee() {
        return limitFee;
    }

    public void setLimitFee(String limitFee) {
        this.limitFee = limitFee;
    }

    public String getDispatchID() {
        return dispatchID;
    }

    public void setDispatchID(String dispatchID) {
        this.dispatchID = dispatchID;
    }

    public String getSellployId() {
        return sellployId;
    }

    public void setSellployId(String sellployId) {
        this.sellployId = sellployId;
    }

    public String getSingleTotalPrice() {
        return singleTotalPrice;
    }

    public void setSingleTotalPrice(String singleTotalPrice) {
        this.singleTotalPrice = singleTotalPrice;
    }

    public String getSingleGoodsNumber() {
        return singleGoodsNumber;
    }

    public void setSingleGoodsNumber(String singleGoodsNumber) {
        this.singleGoodsNumber = singleGoodsNumber;
    }

    public String getSelectedDispatchName() {
        return selectedDispatchName;
    }

    public void setSelectedDispatchName(String dispatchName) {
        this.selectedDispatchName = dispatchName;
    }

    /**
     * 商品列表
     */

    public String getShipCost() {
        return shipCost;
    }

    public void setShipCost(String shipCost) {
        this.shipCost = shipCost;
    }

    public String getDispatchFee() {
        return dispatchFee;
    }

    public String getDispatchType() {
        return dispatchType;
    }

    public void setDispatchType(String dispatchType) {
        this.dispatchType = dispatchType;
    }

    public void setDispatchFee(String dispatchFee) {
        this.dispatchFee = dispatchFee;
    }

    /**
     * 抵用券列表
     */

    public String getMerchantName() {
        return merchantName;
    }

    public void setMerchantName(String merchantName) {
        this.merchantName = merchantName;
    }

    public String getGoodsNumber() {
        return goodsNumber;
    }

    public void setGoodsNumber(String goodsNumber) {
        this.goodsNumber = goodsNumber;
    }

    public String getTotalPrices() {
        return totalPrices;
    }

    public void setTotalPrices(String totalPrices) {
        this.totalPrices = totalPrices;
    }

    public String getMerID() {
        return merID;
    }

    public void setMerID(String merID) {
        this.merID = merID;
    }

    public List<Map<String, Object>> getDispatchList() {
        return dispatchList;
    }

    public void setDispatchList(List<Map<String, Object>> dispatchList) {
        this.dispatchList = dispatchList;
    }

    public List<Map<String, Object>> getGoodsList() {
        return goodsList;
    }

    public void setGoodsList(List<Map<String, Object>> goodsList) {
        this.goodsList = goodsList;
    }
}
